<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<ui:composition template="./../template/template.xhtml">

	<ui:define name="content">
		<h:form>
			<div class="FORM_HEADER">Create Login</div>
			<h:panelGrid columns="3" styleClass="APPLICATION_CONTENT">
				<h:outputLabel value="Login Id: " for="loginId" />
				<h:inputText id="loginId"
					value="#{loginController.loginDTO.loginId}" size="25" />
				<h:message for="loginId" errorClass="INLINE_ERROR_MESSAGE" />

				<h:outputLabel value="Password: " for="password" />
				<h:inputText id="password"
					value="#{loginController.loginDTO.password}" size="25" />
				<h:message for="password" errorClass="INLINE_ERROR_MESSAGE" />

				<h:outputText value="" />
				<p:commandButton value="Login" action="#{loginController.verify}"
					ajax="false" />
			</h:panelGrid>
		</h:form>
	</ui:define>
	<ui:define name="menu">
		<h:outputText value="" />
	</ui:define>

</ui:composition>
</html>